package Operator;

import Book.Book;
import Book.BookList;

public class Exit implements IOperator{
    @Override
    public void work(BookList bookList) {
        int size = bookList.getListsize();
        for (int i = 0; i < size; i++) {
            Book book = bookList.get_book(i);
            book = null;
        }
        System.exit(0);
    }
}
